package com.booter.zookeeper;

public class CuratorConfig {

    //超时时间  毫秒
    private Integer sessionTimeout = 10_000;

    private Integer connectionTimeout = 3_000;

    private String auth;
    private String password;
    //命名空间
    private String nameSpace;

    private String host;
    //分组名称
    private String group;

    public Integer getSessionTimeout() {
        return this.sessionTimeout;
    }

    public Integer getConnectionTimeout() {
        return this.connectionTimeout;
    }

    public String getHost() {
        return this.host;
    }

    public void setSessionTimeout(Integer sessionTimeout) {
        this.sessionTimeout = sessionTimeout;
    }

    public void setConnectionTimeout(Integer connectionTimeout) {
        this.connectionTimeout = connectionTimeout;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getNameSpace() {
        return this.nameSpace;
    }

    public void setNameSpace(String nameSpace) {
        this.nameSpace = nameSpace;
    }

    public String getGroup() {
        return this.group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String getAuth() {
        return this.auth;
    }

    public void setAuth(String auth) {
        this.auth = auth;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
